<div class="span-24 clearfix" id="main">
				<div class="container">
	<div class="span-19">
		<div id="content">
			
<h1>Updating </h1>
 
<div class="form wide">

<form method="post" action="<?php echo site_url('users/update') ?>" id="countries-form">
	<p class="note">Fields with <span class="required">*</span> are required.</p>

	
	<div class="errorMessage"> <?php echo notify_get_messages('users'); ?> </div>
	<div class="row">
		<label class="required" for="Countries_name">FirtName <span class="required">*</span></label>		
    <input type="text" value="<?php echo $query->row('firtname') ?>" id="firtname" name="firtname" maxlength="100" >			</div>
	<div class="row">
		<label class="required" for="Countries_name">LastName <span class="required">*</span></label>		
    <input type="text" value="<?php echo $query->row('lastname') ?>" id="lastname" name="lastname" maxlength="100" >			</div>

<!--	<div class="row">
							</div>-->

	<div class="row">
		<label for="Countries_active">Active</label>		
    <select id="Countries_active" name="acti">
<option <?php if ($query->row('acti') == 'No') echo 'selected="selected"'?> value="No">Inactive</option>
<option <?php if ($query->row('acti') == 'Yes') echo 'selected="selected"'?> value="Yes">Active</option>
</select>			</div>

	<div class="row isDefault" style="display: none;">
		<label for="Countries_isDefault">Is default</label>		
    <input type="hidden" name="Countries[isDefault]" value="0" id="ytCountries_isDefault">
    <input type="radio" checked="checked" value="1" id="Countries_isDefault" name="Countries[isDefault]">			
  </div>
	<div class="row buttons">
  <input type="hidden" name="idx" id="idx" value="<?php echo encrypt($query->row('id')) ?>" />
	<input type="submit" value="Save" name="yt0" class="button green">	</div>

</form>
</div><!-- form -->		</div><!-- content -->
	</div>
	<div class="span-5 last">
		<div id="sidebar">
		<div id="yw0" class="portlet">
<div class="portlet-decoration">
<div class="portlet-title">Operations</div>
</div>
<div class="portlet-content">
<ul id="yw1" class="operations">
<li><a href="<?php echo site_url('users/add') ?>">Add new Administrator</a></li>
<li><a href="<?php echo site_url('users') ?>">List Administrators</a></li>
</ul></div>
</div>		</div><!-- sidebar -->
	</div>
</div>
			</div>